Permissioned Blockchain: User stories to Engineering by Dev Bhattacharyya

Permissioned Blockchain: User stories to Engineering by Dev Bhattacharyya

Author:Dev Bhattacharyya
Language: eng
Format: mobi
Published: 2018-04-16T22:00:00+00:00


'use strict';

/**

* Process a property that is held for sale

* @param{com.devb.financialplanning.SaveAccount}acc

* @transaction

*/

async function onSave(acc) {

console.log('### Setting account '

+ financialAccount.toString());

const registry = await

getAssetRegistry(

'com.devb.financialplanning.FinancialAccount');

await registry.update(financialAccount);

}

The access control list as before, provides fine grained control within the network.

rule Default {

description: "Allow participants access to resources"

participant: "ANY"

operation: ALL

resource: "com.devb.financialplanning.*"

action: ALLOW

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.